package com.cloud.api.domain.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "VehicleModelDto")
public class VehicleModelDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    @Schema(description = "车辆类别: 新能源，油车")
    @TableField("type")
    private String type;

    @Schema(description = "车型名称")
    @TableField("model_name")
    private String modelName;

    @Schema(description = "父id")
    @TableField("parent_id")
    private String parentId;

    private List<VehicleModelDto> children;
}